const dataAnalysis = {
	path: "/dataAnalysis",
	name: "dataAnalysis",
	// redirect: "/dataAnalysis/dataCard",
	meta: {
		title: "数据分析",
		icon: "el-icon-s-data"
	},
	component: () =>
		import(
			/* webpackChunkName: "dataAnalysis" */ "../views/dataAnalysis/index.vue"
			),
	children: [
		{
			path: "/dataAnalysis/dataCard",
			name: "dataCard", // 数据概览模块
			meta: {
				parentName: "dataAnalysis"
			},
			component: () =>
				import(
					/* webpackChunkName: "DataCard" */ "../views/dataAnalysis/dataCard/index.vue"
					)
		},
		{
			path: "/dataAnalysis/userIndex",
			name: "userIndex", // 用户模块
			redirect: "/dataAnalysis/userIndex/userGroup",
			meta: {
				parentName: "dataAnalysis"
			},
			component: () =>
				import(
					/* webpackChunkName: "UserIndex" */ "../views/dataAnalysis/userAnalysis/index.vue"
				),
			children: [
				{
					path: "/dataAnalysis/userIndex/userGroup",
					name: "userGroup",    // 用户分群
					meta: {
						parentName: "userIndex"
					},
					component: () => import(
					/* webpackChunkName: "UserGroup" */ "../views/dataAnalysis/userAnalysis/components/userGroup.vue"
					)
				},
				{
					path: "/dataAnalysis/userIndex/userDetails",
					name: "userDetails",    // 用户分群-分群详情
					meta: {
						parentName: "userIndex"
					},
					component: () => import(
					/* webpackChunkName: "userDetails" */ "../views/dataAnalysis/userAnalysis/components/userDetails.vue"
					)
				}
			]
		},
		{
			path: "/dataAnalysis/labelManage",
			name: "labelManage",
			meta: {
				parentName: "dataAnalysis"
			},
			component: () =>
				import(
					/* webpackChunkName: "serviceManage" */ "../views/dataAnalysis/labelManage/index"
				)
		},
		{
			path: "/dataAnalysis/labelManage",
			name: "labelManage",
			meta: {
				parentName: "dataAnalysis"
			},
			component: () =>
				import(
					/* webpackChunkName: "serviceManage" */ "../views/dataAnalysis/labelManage/index"
					)
		},
		// 通用分析下的二级导航
		{
			path: "/dataAnalysis/eventAnalysis",
			name: "eventAnalysis", // 事件分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "EventAnalysis" */ "../views/dataAnalysis/eventAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/funnelAnalysis",
			name: "funnelAnalysis", // 漏斗分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "FunnelAnalysis" */ "../views/dataAnalysis/funnelAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/userpathAnalysis",
			name: "userpathAnalysis", // 用户路径分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "UserPathAnalysis" */ "../views/dataAnalysis/userpathAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/retainedAnalysis",
			name: "retainedAnalysis", // 留存分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "RetainedAnalysis" */ "../views/dataAnalysis/retainedAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/spreadAnalysis",
			name: "spreadAnalysis", // 分布分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "spreadAnalysis" */ "../views/dataAnalysis/spreadAnalysis/index.vue"
					)
		},
		{
			path: "/dataAnalysis/ltvAnalysis",
			name: "ltvAnalysis", // LTV分析
			meta: {
				parentName: "dataCard"
			},
			component: () =>
				import(
					/* webpackChunkName: "LTVAnalysis" */ "../views/dataAnalysis/ltvAnalysis/index.vue"
					)
		},
		{
            path: "/dataAnalysis/userpathAnalysis",
            name: "userpathAnalysis", // 用户路径分析
            meta: {
                parentName: "dataCard"
            },
            component: () =>
                import(
                    /* webpackChunkName: "RetainedAnalysis" */ "../views/dataAnalysis/userpathAnalysis/index.vue"
                    )
        },
        {
            path: "/dataAnalysis/attributionAnalysis",
            name: "attributionAnalysis", // 归因分析
            meta: {
                parentName: "dataCard"
            },
            component: () =>
                import(
                    /* webpackChunkName: "AttributionAnalysis" */ "../views/dataAnalysis/attributionAnalysis/index.vue"
                    )
        },
        {
            path: "/dataAnalysis/intervalAnalysis",
            name: "intervalAnalysis", // 间隔分析
            meta: {
                parentName: "dataCard"
            },
            component: () =>
                import(
                    /* webpackChunkName: "IntervalAnalysis" */ "../views/dataAnalysis/intervalAnalysis/index.vue"
                    )
        }
	]
};
export default dataAnalysis;
